package com.zjq.smartdevice.exception;

/**
 * @User zhangjiaqi
 * @Project smartdeviceplatgorm
 * @Package com.zjq.smartdevice.exception
 * @Date 2022/3/14 20:18
 */
public class MyBaseException extends RuntimeException{
    private int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public MyBaseException(String message, int code) {
        super(message);
        this.code = code;
    }
}
